home *** CD-ROM | disk | FTP | other *** search
/ Action Games (2008) / akcnihry1.iso / AT-Robots 2.10 / TRAPPER.AT2 < prev    next >
Encoding:
Text File  |  1999-05-09  |  2.2 KB  |  56 lines

  1. ; TRAPPER - 12/16/98 -  Tests the config options, specifically for
  2. ;                       mines and shields.
  3. ;
  4. ; NOTE- This robot is extremely anal-retentive and non-sportsman-like.
  5. ;
  6. ; This robot raises its shield, drops all its mines, and then just
  7. ; waits to see what happens. It's intended only for one-on-one
  8. ; battles (against Rammer in particular), since it has no means of
  9. ; survival in the long-term, and will eventually die whether the
  10. ; mines have killed everyone or not. One TRAPPER can single-handedly
  11. ; take out 3 or 4 RAMMERs fairly effectively using the old shield
  12. ; system. With the current shielding system, it can take out a single
  13. ; rammer under most circumstances.
  14.  
  15. #msg Come closer...
  16.  
  17. ; First, let's get the toys we want:
  18.  
  19. #config shield=5    ; Heat-resistant shield (less than 3 and we don't get it)
  20. #config mines=5     ; '5' gives us 24 mines
  21.  
  22. ; These configs were costly (10 points), we must
  23. ; reduce other devices below:
  24. ;       Config        Description                                    Default
  25. #config armor=2     ; Normal armor. Maybe we live a while...           [2]
  26. #config weapon=0    ; Wimpy missiles.. Gives us 2 points.              [2]
  27. #config engine=0    ; We'll be at half speed, but who cares. 2 points. [2]
  28. #config scanner=0   ; We don't care about scanning range.    5 points. [5]
  29. #config heatsinks=0 ; Good heatsinks. Got a point.                     [1]
  30.  
  31. ; On to the battle!
  32.  
  33. opo     20,     600     ; Set shutdown level so high that it never happens.
  34. opo     24,     1       ; Shields up!
  35. mov     BX      24      ; Set mine detection-radius
  36.  
  37. :1
  38. mov     dx,     bx      ;
  39. shr     dx,     1       ;
  40. add     dx,     8       ; DX = BX/2 + 8
  41.  
  42. opo     22,     DX      ; Lay a mine
  43. dec     BX              ; Each mine will have a smaller radius.
  44. :2
  45. ipo     22,     AX      ; Check our mines-remaining
  46. cmp     ax,     0       ; Do we have any mines left?
  47. jgr     1               ; If yes, then lay another one.
  48.  
  49.  
  50. :10
  51. opo     14,     1       ; Spin slowly, so we look enticing. :-)
  52. delay   4
  53. jmp     10              ; Sit and wait indefinitely, hoping we
  54.                         ; lure the target to its death before we
  55.                         ; overheat and die.
  56.